package com.itheima.health.dao;

import com.itheima.health.pojo.RoleMenu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface RoleMenuMapper extends Mapper<RoleMenu> {
    @Select("select t1.menu_id from t_role_menu t1 where role_id = #{roleid}")
    List<Map<String,Integer>> selectbyroleid(@Param("roleid") Integer roleid);
}
